package org.cttic.visualization.visualization.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 2.5.3	识别点模糊查询 入参
 */


@Data
@NoArgsConstructor
@AllArgsConstructor
public class MarkSearchRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "省编码(provinceId)不能为空")
    private String provinceId;

    private String roadSectionId;

    @NotNull(message = "识别点类型(dataType)不能为空")
    private String dataType;

    private String dataValue;


    @Positive(message = "页码需为正数")
    private Integer pageNo = 1;

    @Positive(message = "条数需为正数")
    private Integer pageSize = 10;
}
